package com.ruoyi.zsyh.service;

import java.util.List;
import com.ruoyi.zsyh.domain.ZsyhPlatformSellPartsAttribute;

/**
 * 产品属性Service接口
 * 
 * @author yuexl
 * @date 2025-04-27
 */
public interface IZsyhPlatformSellPartsAttributeService 
{
    /**
     * 查询产品属性
     * 
     * @param id 产品属性ID
     * @return 产品属性
     */
    public ZsyhPlatformSellPartsAttribute selectZsyhPlatformSellPartsAttributeById(String id);

    /**
     * 查询产品属性列表
     * 
     * @param zsyhPlatformSellPartsAttribute 产品属性
     * @return 产品属性集合
     */
    public List<ZsyhPlatformSellPartsAttribute> selectZsyhPlatformSellPartsAttributeList(ZsyhPlatformSellPartsAttribute zsyhPlatformSellPartsAttribute);

    /**
     * 新增产品属性
     * 
     * @param zsyhPlatformSellPartsAttribute 产品属性
     * @return 结果
     */
    public int insertZsyhPlatformSellPartsAttribute(ZsyhPlatformSellPartsAttribute zsyhPlatformSellPartsAttribute);

    /**
     * 修改产品属性
     * 
     * @param zsyhPlatformSellPartsAttribute 产品属性
     * @return 结果
     */
    public int updateZsyhPlatformSellPartsAttribute(ZsyhPlatformSellPartsAttribute zsyhPlatformSellPartsAttribute);

    /**
     * 批量删除产品属性
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteZsyhPlatformSellPartsAttributeByIds(String ids);

    /**
     * 删除产品属性信息
     * 
     * @param id 产品属性ID
     * @return 结果
     */
    public int deleteZsyhPlatformSellPartsAttributeById(String id);

    public int updateAttributeSort(int changeValue,String partsId,long attributeSort);

    public int updateAttributeSortBefore(int changeValue, String partsId, long attributeSort, long attributeSortOld);
}
